package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.commodity.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品 Excel 导出 Request VO，参数和 CommodityPageReqVO 是一致的")
@Data
public class CommodityExportReqVO {

    @Schema(description = "商品类型", example = "1")
    private Long type;

    @Schema(description = "商品名称", example = "张三")
    private String name;

    @Schema(description = "广告图")
    private String imageurls;

    @Schema(description = "商品所属分类", example = "17436")
    private Long categoryId;

    @Schema(description = "详情")
    private String content;

    @Schema(description = "积分")
    private Long point;

    @Schema(description = "库存")
    private Long inventory;

    @Schema(description = "出售数量")
    private Long sellNum;

    @Schema(description = "状态 ")
    private Long status;

    @Schema(description = "其他信息")
    private String others;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
